<?include "global.tbh"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type"
 content="text/html; charset=utf-8"/>
  <title>Your Company</title>
  <style type="text/css"/>
  body {
	margin:0px;
	padding:0px;
	background:#fff;
	}
div, table, tr, td, a, form, input {
	margin:0px;
	padding:0px;
	}
	
.wrapper {
	margin:0px auto;
	padding:0px;
	width:903px;
	overflow:hidden;
	}
	
.warpper-top {
	margin:0px;
	padding:0px;
	width:903px;
	float:left;
	}
.top-sh1 {
	margin:0px;
	padding:0px;
	height:28px;
	background:url(top-sh-1.png) no-repeat center bottom;
	width:903px;
	float:left;
	}
.banner-area {
	margin:0px;
	padding:0px;
	width:903px;
	height:157px;
	float:left;
	}
.banner-left-sh1 {
	margin:0px;
	padding:0px;
	background:url(left-sh-1.png) no-repeat right top;
	width:9px;
	height:157px;
	float:left;
	}
.banner-right-sh1 {
	margin:0px;
	padding:0px;
	background:url(right-sh-1.png) no-repeat left top;
	width:9px;
	height:157px;
	float:left;
	}	
.banner-bg1 {
	margin:0px;
	padding:0px;
	width:885px;
	float:left;
	height:157px;
	background:#fff url(spednet.gif) no-repeat right top;
	}
.banner-txt {
	margin:0px;
	padding:0px;
	width:885px;
	float:left;
	height:100px;
	}
.banner-txt-left {
	margin:0px;
	padding:0px;
	width:473px;
	float:left;
	}
h1 {
	margin:0px;
	padding:20px 0px 0px 45px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:30px;
	text-decoration:none;
	color:#333e04;
	font-weight:normal;
	line-height:50px;
	text-transform:uppercase;
	}

.nav-area {
	margin:0px;
	padding:0px;
	width:885px;
	height:46px;
	float:left;
	background:#556801;
	border-top:1px solid #556801;
	}
.nav-sh {
	margin:0px;
	padding:0px;
	background:url(nav-shadow.jpg) no-repeat left top;
	width:885px;
	height:10px;
	float:left;
	}
ul.navigation {
	margin:0px;
	padding:0px 0px 0px 18px;
	list-style:none;
	}
ul.navigation li {
	margin:0px;
	padding:0px 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#b2cd47;
	line-height:46px;
	text-align:center;
	font-weight:bold;
	float:left;
	background:url(nav-divider.jpg) no-repeat right top;
	display:block;
	}
ul.navigation li a {
	margin:0px;
	padding:0px 35px 0px 35px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#b2cd47;
	line-height:46px;
	text-align:center;
	font-weight:bold;
	background:none;
	display:block;
	} 
ul.navigation li a:hover {
	margin:0px;
	padding:0px 35px 0px 35px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#fff;
	line-height:46px;
	text-align:center;
	font-weight:bold;
	background:url(nav-hover-bg.jpg) repeat-x left top;
	display:block;
	} 
	
.warpper-mid {
	margin:0px;
	padding:0px 0px 20px 0px;
	width:903px;
	float:left;
	background:url(mid-bg1.png) repeat-y center top;
	}
.mid-gap {
	margin:0px;
	padding:0px;
	width:9px;
	float:left;
	font-size:0px;
	line-height:0px;
	}
.mid-left {
	margin:0px;
	padding:0px;
	width:885px;
	float:left;
	min-height: 500px;
	}
.mid-right {
	margin:0px;
	padding:0px;
	width:288px;
	float:left;
	}
.topround-bg1 {
	margin:0px;
	padding:0px;
	background:url(topround-sh-1.jpg) no-repeat left bottom;
	width:288px;
	height:20px;
	font-size:0px;
	line-height:0px;
	float:left;
	}
.midround-bg1 {
	margin:0px;
	padding:0px;
	background:url(midround-sh-1.jpg) repeat-y left top;
	width:288px;
	float:left;
	}
.botround-bg1 {
	margin:0px;
	padding:0px;
	background:url(bottomround-sh-1.jpg) no-repeat left top;
	width:288px;
	height:20px;
	font-size:0px;
	line-height:0px;
	float:left;
	}
h4 {
	margin:0px;
	padding:0px 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:24px;
	text-decoration:none;
	color:#556801;
	font-weight:normal;
	line-height:26px;
	}
h2 {
	font-family:Arial, Helvetica, sans-serif;
	font-size:30px;
	text-decoration:none;
	color:#779102;
	font-weight:normal;
	}
h3 {
	margin:0px;
	padding:0px 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:24px;
	text-decoration:none;
	color:#ed1c24;
	font-weight:bold;
	line-height:30px;
	}
h3 span {
	font-family:Arial, Helvetica, sans-serif;
	font-size:24px;
	text-decoration:none;
	color:#779102;
	font-weight:normal;
	}
p.txt-2 {
	margin:0px;
	padding:0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#333333;
	font-weight:normal;
	line-height:18px;
	}
	
td {
margin:0px;
	
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#333333;
	font-weight:normal;
	line-height:18px;
	
}
.copyright {
	border:0px;
	height:1px;
	width:1px;
        }	
.warpper-bot {
	margin:0px;
	padding:15px 0px 15px 0px;
	width:903px;
	float:left;
	background:url(footer-bg1.png) repeat-y center top;
	}
.footer-right {
	margin:0px;
	padding:0px;
	width:303px;
	float:right;
	}

p.footer-txt {
	margin:0px;
	padding:0px 0px 0px 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	text-decoration:none;
	color:#b2cd47;
	line-height:18px;
	font-weight:normal;
	}
.footer-link {
	color:#ccff99; 
	text-decoration:none; 
	}
  </style>
  
  <script>
var domParts = new Array();
var queries = new Array();
var maxHeatingTemp=<?sock.setdata(getSensorValue("ogrMax"))?>, maxCwuTemp=<?sock.setdata(getSensorValue("cwuMax"))?>,minHeatingTemp=<?sock.setdata(getSensorValue("ogrMin"))?>, minCwuTemp=<?sock.setdata(getSensorValue("cwuMin"))?>;
function displayHeatingDialog()
{
	var svg = document.getElementById("svg");
	var txt = svg.getElementById("heatingTempSet").childNodes[0].nodeValue;
	var temperature=displayTemperaturePrompt(minHeatingTemp,maxHeatingTemp,txt);
	if (temperature!=null){
	var request=new XMLHttpRequest();
	request.open("GET","setValue.html?sensor=ogrSet&value="+temperature*10,false);
	request.send();
	}
	
};

function displayCwuDialog()
{
	var svg = document.getElementById("svg");
	var txt = svg.getElementById("cwuTempSet").childNodes[0].nodeValue;
	var temperature=displayTemperaturePrompt(minCwuTemp,maxCwuTemp,txt);
	if (temperature!=null){
	var request=new XMLHttpRequest();
	request.open("GET","setValue.html?sensor=cwuSet&value="+temperature*10,false);
	request.send();
	}
};
function displayTemperaturePrompt(min,max,text)
{
	var input, correct=false;
	var patt=new RegExp("^[0-9]+\.?[0-9]?$");
	do {
		input = prompt("Zadana temperatura:",text);
		if (input==null) return null;
		if (patt.test(input)){
			if (input<min ||input>max){
				alert("Temperatura musi być w zakresie od "+min+" do "+max);
			}
			else{correct=true;}
		}
		else
		{
			alert("Zły format liczby"+input);
		}
			
	}while(!correct);
	return input;
}
function update()
{	
	var request=new XMLHttpRequest();
	request.onreadystatechange=function()
	{
		if (request.readyState==4 /*&& xmlhttp.status==200*/)
		{
			var response=request.responseXML;
			var svg = document.getElementById("svg");
			svg.getElementById("heatingTemp").childNodes[0].nodeValue = response.getElementsByTagName("heatingTemp")[0].childNodes[0].nodeValue;
			svg.getElementById("CWUTemp").childNodes[0].nodeValue = response.getElementsByTagName("CWUTemp")[0].childNodes[0].nodeValue;
			svg.getElementById("OPin").childNodes[0].nodeValue = response.getElementsByTagName("OPin")[0].childNodes[0].nodeValue;
			svg.getElementById("OPout").childNodes[0].nodeValue = response.getElementsByTagName("OPout")[0].childNodes[0].nodeValue;
			svg.getElementById("GlikolIn").childNodes[0].nodeValue = response.getElementsByTagName("GlikolIn")[0].childNodes[0].nodeValue;
			svg.getElementById("GlikolOut").childNodes[0].nodeValue = response.getElementsByTagName("GlikolOut")[0].childNodes[0].nodeValue;
			svg.getElementById("compressor").childNodes[0].nodeValue = response.getElementsByTagName("compressor")[0].childNodes[0].nodeValue;
			svg.getElementById("heatingTempSet").childNodes[0].nodeValue = response.getElementsByTagName("heatingTempSet")[0].childNodes[0].nodeValue;
			svg.getElementById("cwuTempSet").childNodes[0].nodeValue = response.getElementsByTagName("cwuTempSet")[0].childNodes[0].nodeValue;
		}
	};
	request.open("GET","visualisationData.html",true);
	request.overrideMimeType('text/xml');
	request.send();
}

function getSyncRequest (query,domElement)
{
	var request=new XMLHttpRequest();
	request.onreadystatechange=function()
	{
		if (request.readyState==4 /*&& xmlhttp.status==200*/)
		{
			domElement.childNodes[0].nodeValue =request.responseText;
		}
	};
	request.open("GET",query,false);
	request.send();
}

function init(){
setInterval(function(){update();},3000);
	
	
	//getSyncRequest("value.html?sensor=ogrMax",maxHeatingTemp);
	//getSyncRequest("value.html?sensor=cwuMax",maxCwuTemp);
	
}

</script>
</head>
<body onload="init()">
<div class="wrapper">
<div class="warpper-top">
<div class="top-sh1"></div>
<div class="banner-area">
<div class="banner-left-sh1"></div>
<div class="banner-bg1">
<div class="banner-txt">
<div class="banner-txt-left">
<h1>Panel zarządzania</h1>
</div>
</div>
<div class="nav-area">
<ul class="navigation">
  <li><a href="index.html">Start</a></li>
  <li><a href="#">Wizualizacja</a></li>
  <li><a href="settings.html">Ustawienia</a></li>
  <li><a href="#">Pomoc</a></li>
</ul>
</div>
<div class="nav-sh"></div>
</div>
<div class="banner-right-sh1"></div>
</div>
</div>
<div class="warpper-mid">
<div class="mid-left">

<svg onload="animate(evt)" height="841" width="801" id="svg">
	
	<script type="text/ecmascript" a3:scriptImplementation="Adobe"><![CDATA[
        var rect;
        var x = 0;
        var speed = 60;

        function animate(evt) {
            if ( window.svgDocument == null )
                svgDocument = evt.target.ownerDocument;

            
			lewo = svgDocument.getElementById("lewo").getElementsByTagName("polygon")
			dol = svgDocument.getElementById("dol").getElementsByTagName("polygon")
			gora = svgDocument.getElementById("gora").getElementsByTagName("polygon")
			prawo = svgDocument.getElementById("prawo").getElementsByTagName("polygon")

            setTimeout("advance()", speed);
			

        }

        function advance() {

            if ( ++x > 70 ) x  = 0;
				var pointslewo=(10-x)+",10 "+(0-x)+",5 "+(10-x)+",0";
				var pointsdol="0,"+(0+x)+" 10,"+(0+x)+" 5,"+(10+x);
				var pointsprawo = (0+x)+",10 "+(10+x)+",5 "+(x)+",0"
				var pointsgora ="10,"+(10-x)+" 5,"+(-x)+" 0,"+(10-x);
				var fill ="rgba(0, 0, 0, "+(-0.081*x*x+5.7143*x)/100+")";
				for (var i=0;i<lewo.length;i++){
					lewo[i].setAttributeNS(null, "points", pointslewo);
					lewo[i].setAttributeNS(null, "fill", fill);
				}
				for (var i=0;i<dol.length;i++){
					dol[i].setAttributeNS(null, "points", pointsdol);
					dol[i].setAttributeNS(null, "fill", fill);
				}
				for (var i=0;i<prawo.length;i++){
					prawo[i].setAttributeNS(null, "points", pointsprawo);
					prawo[i].setAttributeNS(null, "fill", fill);
				}
				for (var i=0;i<gora.length;i++){
					gora[i].setAttributeNS(null, "points", pointsgora);
					gora[i].setAttributeNS(null, "fill", fill);
				}
				
				
            
            setTimeout("advance()", speed);
        }
    ]]></script>
	
      <!-- Create the circle. -->
	  <defs>
		    <linearGradient
			inkscape:collect="always"
			xlink:href="#linearGradient6726"
			id="linearGradient3081"
			x1="699.32861"
			y1="304.24323"
			x2="704.27838"
			y2="654.26105"
			gradientUnits="userSpaceOnUse"
			gradientTransform="matrix(1.274936,0,0,1.274936,-191.15828,86.64752)" />
			
			<linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient3083"
       id="linearGradient3089"
       x1="713.47076"
       y1="243.43202"
       x2="712.76361"
       y2="680.42401"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(1.274936,0,0,1.274936,-181.29252,-41.35248)" />
	   
	   <linearGradient
       id="linearGradient3083">
      <stop
         style="stop-color:#8000ff;stop-opacity:1;"
         offset="0"
         id="stop3085" />
      <stop
         style="stop-color:#8080ff;stop-opacity:1;"
         offset="1"
         id="stop3087" />
			
			<linearGradient
       id="linearGradient6726">
      <stop
         style="stop-color:#00ffff;stop-opacity:1;"
         offset="0"
         id="stop6728" />
      <stop
         style="stop-color:#8080ff;stop-opacity:1;"
         offset="1"
         id="stop6730" />
    </linearGradient>
	  </defs>
	   
	   
	   <rect
       style="fill:#ff0000;fill-opacity:1;stroke:none"
       id="rect2996"
       width="401.28616"
       height="6.3617907"
       x="92.004646"
       y="258.72568" />
    <rect
       style="fill:#ff0c00;fill-opacity:1;stroke:none"
       id="rect2996-1"
       width="291.02744"
       height="6.5378232"
       x="-551.04419"
       y="92.044197"
       transform="matrix(0,-1,1,0,0,0)" />
    <rect
       style="fill:#fff000;fill-opacity:1;stroke:none"
       id="rect2996-7"
       width="255.21579"
       height="6.6032739"
       x="118.40265"
       y="284.10367" />
    <rect
       style="fill:#ff3000;fill-opacity:1;stroke:none"
       id="rect2996-7-4"
       width="203.77077"
       height="6.7061348"
       x="144.17242"
       y="309.55099" />
    <rect
       style="fill:#ffc000;fill-opacity:1;stroke:none"
       id="rect2996-7-0"
       width="153.44244"
       height="6.8247991"
       x="169.28931"
       y="334.99039" />
    <rect
       style="fill:#ff6000;fill-opacity:1;stroke:none"
       id="rect2996-7-0-9"
       width="101.93179"
       height="6.9681449"
       x="194.90067"
       y="360.41742" />
    <rect
       style="fill:#ff9000;fill-opacity:1;stroke:none"
       id="rect2996-7-0-9-4"
       width="57.652901"
       height="7.1453686"
       x="214.07715"
       y="401.94812" />
    <rect
       style="fill:#ffa800;fill-opacity:1;stroke:none"
       id="rect2996-7-0-9-2"
       width="102.19876"
       height="6.9681449"
       x="169.52661"
       y="470.06189" />
    <rect
       style="fill:#ff4800;fill-opacity:1;stroke:none"
       id="rect2996-7-0-4"
       width="152.71362"
       height="6.8247991"
       x="144.11635"
       y="495.63232" />
    <rect
       style="fill:#ffd800;fill-opacity:1;stroke:none"
       id="rect2996-7-5"
       width="204.32123"
       height="6.7061353"
       x="118.35121"
       y="521.19031" />
    <rect
       style="fill:#ffe400;fill-opacity:1;stroke:none"
       id="rect3196"
       width="6.0206766"
       height="240.96248"
       x="118.69396"
       y="284.86472" />
    <rect
       style="fill:#ff3c00;fill-opacity:1;stroke:none"
       id="rect3196-5"
       width="6.1788459"
       height="191.41109"
       x="144.11356"
       y="310.35989" />
    <rect
       style="fill:#ffb400;fill-opacity:1;stroke:none"
       id="rect3196-5-1"
       width="6.3659959"
       height="141.51147"
       x="169.51875"
       y="335.30966" />
    <rect
       style="fill:#ff6c00;fill-opacity:1;stroke:none"
       id="rect3196-5-1-7"
       width="6.6124787"
       height="88.939171"
       x="194.89421"
       y="361.14053" />
    <rect
       style="fill:#ff7800;fill-opacity:1;stroke:none"
       id="rect2996-7-0-9-4-1"
       width="26.023327"
       height="7.2957501"
       x="194.89268"
       y="442.94232" />
    <rect
       style="fill:#ff8400;fill-opacity:1;stroke:none"
       id="rect3196-5-1-7-1"
       width="6.872323"
       height="48.067352"
       x="214.04933"
       y="401.93396" />
    <rect
       style="fill:#ff9c00;fill-opacity:1;stroke:none"
       id="rect3196-5-1-7-5"
       width="6.6943297"
       height="74.532372"
       x="265.04108"
       y="402.28021" />
    <rect
       style="fill:#ffcc00;fill-opacity:1;stroke:none"
       id="rect3196-5-1-2"
       width="6.177289"
       height="191.86488"
       x="316.04861"
       y="335.40405" />
    <rect
       style="fill:#ff5400;fill-opacity:1;stroke:none"
       id="rect3196-5-1-7-7"
       width="6.3697395"
       height="140.60454"
       x="290.45361"
       y="361.26184" />
    <rect
       style="fill:#ff1800;fill-opacity:1;stroke:none"
       id="rect2996-7-5-1"
       width="255.87677"
       height="6.6032739"
       x="92.062019"
       y="546.74048" />
    <rect
       style="fill:#ff2400;fill-opacity:1;stroke:none"
       id="rect3196-4"
       width="6.021585"
       height="240.65759"
       x="341.93475"
       y="311.80453" />
    <path
       style="fill:#ffff00;fill-opacity:1;stroke:none;display:inline"
       d="m 367.44819,284.31399 0,67.69113 0.0797,0 0,0.0797 125.54136,0 0,-6.01611 -119.60494,0 0,-61.75471 -6.0161,0 z"
       id="rect3196-4-2"
       inkscape:connector-curvature="0" />
    <rect
       style="fill:none;stroke:#000000;stroke-width:1.27423227"
       id="rect6782"
       width="126.21938"
       height="119.84469"
       x="492.07285"
       y="244.05716" />
    <rect
       style="fill:none;stroke:#000000;stroke-width:1.28303504;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect6795"
       width="126.21097"
       height="205.14343"
       x="492.07751"
       y="367.13538" />
    <path
       style="fill:url(#linearGradient3081);fill-opacity:1;stroke:none;display:inline"
       d="m 618.92932,344.1563 0,6.37468 82.831,0 0,485.43189 6.41452,0 0,-485.43189 0,-6.37468 0,-0.0398 c -30.76962,0.0574 -62.74798,0.0411 -89.24552,0.0398 z"
       id="rect2996-7-0-9-2-5"
       inkscape:connector-curvature="0"
       sodipodi:nodetypes="ccccccccc" />
    <path
       style="fill:url(#linearGradient3089);fill-opacity:1;stroke:none;display:inline"
       d="m 618.02641,267.66014 0.17678,6.37468 106.34633,0 0,561.92805 6.41452,0 0,-568.30273 c -34.05141,0 -78.88621,0 -112.93763,0 z"
       id="rect2996-7-0-9-2-5-2-1"
       inkscape:connector-curvature="0"
       sodipodi:nodetypes="ccccccc" />
    <path
       sodipodi:type="arc"
       style="fill:#8080ff;fill-opacity:1;stroke:none"
       id="path3071"
       sodipodi:cx="694.37006"
       sodipodi:cy="694.77136"
       sodipodi:rx="10.911633"
       sodipodi:ry="4.8777165"
       d="m 705.28169,694.77136 c 0,2.69389 -4.88531,4.87772 -10.91163,4.87772 -6.01146,0 -10.89059,-2.17347 -10.91157,-4.86069 l 10.91157,-0.017 z"
       sodipodi:start="0"
       sodipodi:end="3.138102"
       transform="matrix(1.3369828,0,0,1.3032679,-212.0235,-70.068677)" />
    <rect
       style="fill:none;stroke:#000000;stroke-width:5.15103865;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect3091"
       width="715.18781"
       height="456.1254"
       x="-753.56665"
       y="-612.65924"
       transform="scale(-1,-1)" />
    <path
       sodipodi:type="star"
       style="fill:none;stroke:#000000;stroke-width:2.75663924;stroke-miterlimit:4;stroke-dasharray:none"
       id="path3881"
       sodipodi:sides="3"
       sodipodi:cx="50.204582"
       sodipodi:cy="-64.159416"
       sodipodi:r1="79.463829"
       sodipodi:r2="158.92766"
       sodipodi:arg1="0.52359878"
       sodipodi:arg2="1.5707963"
       inkscape:flatsided="false"
       inkscape:rounded="0"
       inkscape:randomized="0"
       d="M 119.02228,-24.427501 50.204586,94.768242 -18.613113,-24.427502 -87.430809,-143.62324 l 137.635392,-1e-5 137.635387,0 z"
       inkscape:transform-center-y="-51.245521"
       transform="matrix(1.4464147,-0.55849221,2.5052639,0.32244563,488.15791,154.83711)"
       inkscape:transform-center-x="199.07786" />
    <rect
       style="fill:#b3b3b3;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect3884"
       width="40.393475"
       height="18.561552"
       x="569.04419"
       y="335.00235" />
    <rect
       style="fill:#0000ff;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none"
       id="rect3886"
       width="13.435029"
       height="6.3639612"
       x="590.08063"
       y="338.89145" />
    <rect onClick="displayHeatingDialog()"
       style="fill:#cccccc;fill-opacity:1;stroke:none"
       id="setHeating"
       width="129.83914"
       height="85"
       x="94.752312"
       y="163.03865"
       inkscape:label="#rect3896" />
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
       x="120"
       y="178.9848"
       id="text3888"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3890"
         x="120"
         y="178.9848"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial Bold">Temperatura</tspan><tspan
         sodipodi:role="line"
         x="120"
         y="198.9848"
         id="tspan3930"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial Bold">   w domu</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold"
       x="150"
       y="219.36218"
       id="heatingTemp"
       sodipodi:linespacing="125%"
       inkscape:label="#text3892">23</text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
       x="420"
       y="186.36218"
       id="text3898"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         x="420"
         y="186.36218"
         id="tspan3902"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial Bold">Ogrzewanie</tspan><tspan
         sodipodi:role="line"
         x="420"
         y="206.36218"
         id="tspan3910"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial Bold">podłogowe</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="450"
       y="242.36218"
       id="OPin"
       sodipodi:linespacing="125%"
       inkscape:label="#text3904">55</text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="450"
       y="332.36218"
       id="OPout"
       sodipodi:linespacing="125%"
       inkscape:label="#text3932">27</text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="520"
       y="282.36218"
       id="text3936"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3938"
         x="520"
         y="282.36218"
         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial Bold">Sprężarka</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="520"
       y="322.36218"
       id="compressor"
       sodipodi:linespacing="125%"
       inkscape:label="#text3940">33</text>
    <rect onClick="displayCwuDialog()"
       style="fill:#cccccc;fill-opacity:1;stroke:none;display:inline"
       id="setCWU"
       width="109.33914"
       height="85"
       x="501.25232"
       y="431.51779"
       inkscape:label="#rect3896-2" />
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="520"
       y="452.36218"
       id="text3944"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3946"
         x="520"
         y="452.36218"
         style="font-size:16px;-inkscape-font-specification:Arial Bold;font-family:Arial;font-weight:bold;font-style:normal;font-stretch:normal;font-variant:normal">CWU</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold"
       x="520"
       y="475.36218"
       id="CWUTemp"
       sodipodi:linespacing="125%"
       inkscape:label="#text3948">55</text>
    <text
       xml:space="preserve"
       style="font-size:16px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="640"
       y="203.83405"
       id="text3970"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3972"
         x="640"
         y="203.83405"
         style="font-weight:bold;-inkscape-font-specification:Arial Bold;font-family:Arial;font-style:normal;font-stretch:normal;font-variant:normal">Glikol</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="649.12402"
       y="242.36218"
       id="GlikolIn"
       sodipodi:linespacing="125%"
       inkscape:label="#text3974">10</text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold;font-stretch:normal;font-variant:normal"
       x="650"
       y="332.36218"
       id="GlikolOut"
       sodipodi:linespacing="125%"
       inkscape:label="#text3978">5</text>
    <g
       id="lewo"
       inkscape:label="#g3820">
      <polygon
         transform="translate(454.64883,256.26034)"
         points="10,10 0,5 10,0 "
         id="poly" />
      <polygon
         transform="translate(270.61969,358.33707)"
         points="10,10 0,5 10,0 "
         id="poly-8-4" />
      <polygon
         transform="translate(314.649,256.26034)"
         fill="rgba(0, 0, 0, 1)"
         points="10,10 0,5 10,0 "
         id="poly-5-5" />
      <polygon
         transform="translate(233.819,306.8622)"
         points="10,10 0,5 10,0 "
         id="poly-8-1-1" />
      <polygon
         transform="translate(174.649,256.26034)"
         points="10,10 0,5 10,0 "
         id="poly-5-5-7-6" />
      <polygon
         transform="translate(244.81801,467.86219)"
         points="10,10 0,5 10,0 "
         id="poly-8-4-4" />
      <polygon
         transform="translate(211.135,518.74088)"
         points="10,10 0,5 10,0 "
         id="poly-8-4-4-3-1" />
    </g>
    <g
       id="gora"
       inkscape:label="#g3879">
      <polygon
         transform="translate(115.73222,500.06064)"
         points="10,10 5,0 0,10 "
         id="strzalawgore" />
      <polygon
         transform="translate(115.73222,360.06018)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-5-1" />
      <polygon
         transform="translate(285.49998,452.86244)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-1" />
      <polygon
         transform="translate(165.99999,424.36244)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-7" />
      <polygon
         transform="translate(721.61284,473.23842)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-76" />
      <polygon
         transform="translate(721.61284,333.23796)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-5-1-9" />
      <polygon
         transform="translate(721.61284,613.23772)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-5-18-7" />
      <polygon
         transform="translate(721.61284,753.23818)"
         points="10,10 5,0 0,10 "
         id="strzalawgore-76-2-5" />
    </g>
    <g
       id="dol"
       inkscape:label="#g3863">
      <polygon
         transform="translate(89.999995,308.99999)"
         points="10,0 5,10 0,0 "
         id="poly22" />
      <polygon
         transform="translate(89.999995,449.00018)"
         points="10,0 5,10 0,0 "
         id="poly22-1-7" />
      <polygon
         transform="translate(142.3711,407.03486)"
         points="5,10 0,0 10,0 "
         id="poly22-1-9" />
      <polygon
         transform="translate(194.34344,361.5414)"
         points="5,10 0,0 10,0 "
         id="poly22-0-8" />
      <polygon
         transform="translate(312.55159,423.63347)"
         points="10,0 5,10 0,0 "
         id="poly22-1-4" />
      <polygon
         transform="translate(698.99997,374.36212)"
         points="10,0 5,10 0,0 "
         id="poly22-23" />
      <polygon
         transform="translate(698.99997,514.36231)"
         points="10,0 5,10 0,0 "
         id="poly22-1-7-2" />
      <polygon
         transform="translate(698.99997,654.36218)"
         points="10,0 5,10 0,0 "
         id="poly22-1-2-6" />
    </g>
    <g
       id="prawo"
       inkscape:label="#g4088">
      <polygon
         transform="translate(102.99999,545.99997)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo" />
      <polygon
         transform="translate(243,545.99997)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo-4-3" />
      <polygon
         transform="translate(172.43711,495.28339)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo-2" />
      <polygon
         transform="translate(200.72137,336.30568)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo-1" />
      <polygon
         transform="translate(197.18228,283.97979)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo-4-7" />
      <polygon
         transform="translate(381.03359,342.66965)"
         points="0,10 10,5 0,0 "
         id="strzalawprawo-8-2" />
    </g>
    <polygon
       id="strzalawlewo"
       points="0,5 10,0 10,10"
       style="fill:#000000;stroke:none;display:inline" />
    <flowRoot
       xml:space="preserve"
       id="flowRoot4871"
       style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Sans;font-style:normal;font-weight:normal;font-size:20px;line-height:125%;letter-spacing:0px;word-spacing:0px"><flowRegion
         id="flowRegion4873"><rect
           id="rect4875"
           width="87.681236"
           height="36.062443"
           x="110.30865"
           y="163.31886" /></flowRegion><flowPara
         id="flowPara4877" /></flowRoot>    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
       x="142.12846"
       y="226.25134"
       id="text3303"
       sodipodi:linespacing="125%"
       transform="translate(-4.9299858e-6,1.7415177)"><tspan
         sodipodi:role="line"
         id="tspan3305"
         x="142.12846"
         y="226.25134" /></text>
    <text
       xml:space="preserve"
       style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
       x="174.95688"
       y="240.2355"
       id="heatingTempSet"
       sodipodi:linespacing="125%"
       inkscape:label="#text3307">20</text>
    <text
       xml:space="preserve"
       style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
       x="101.82338"
       y="239.06393"
       id="text3311"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3313"
         x="101.82338"
         y="239.06393">Zadana:</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
       x="513.3595"
       y="503.76453"
       id="text3315"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan3317"
         x="513.3595"
         y="503.76453">Zadana:</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
       x="573.46356"
       y="503.0574"
       id="cwuTempSet"
       sodipodi:linespacing="125%"
       inkscape:label="#text3319">34</text>
	   
    </svg>

</div>

<div class="warpper-bot">
<div class="footer-right">


<p class="footer-txt">jakas stopka</p>
</div>
</div>
</div>
</div>
</body>
</html>
